import xlrd
import xlwt


def xl_Insert():
    wt = xlwt.Workbook()
    sheet1 = wt.add_sheet(u"sheet1")
    row0 = ["一", "二", "三"]
    row1 = []
    row2 = []
    row3 = []
    row4 = []
    row5 = []
    row6 = []
    # 根据横坐标和纵坐标 write(横下标,纵下标,参数)
    sheet1.write(0, 0, row0[0])
    sheet1.write(0, 0, row1[0])
    sheet1.write(0, 0, row2[0])
    sheet1.write(0, 0, row3[0])
    sheet1.write(0, 0, row4[0])
    sheet1.write(0, 0, row5[0])
    sheet1.write(0, 0, row6[0])






    wt.save(r"D:\作业\需求\只有人名表.xls")



if __name__ == '__main__':
    # xl_Sele()
    xl_Insert()

























